import { createApp } from 'vue'
import App from './App.vue'
// svg插件：vite-plugin-svg-icons需注册
import 'virtual:svg-icons-register'
import elementIcons from '@/components/index'
// 全局组件-由auto-import代劳
import pinia from '@/store'
import '@/styles/index.scss'

import router from '@/router'

const app = createApp(App)
app.use(pinia)
app.use(router)
app.use(elementIcons)

app.mount('#app')
